package co.yixiang.modules.system.entity.domain;


import co.yixiang.common.annotation.Sensitive;
import co.yixiang.common.domain.BaseDomain;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 代理等级
 * @author sqai
 * @desc
 * @since 2022-11-07 17:42:
 */
@Data

@TableName("agent_hierarchy")
@NoArgsConstructor
public class AgentHierarchy extends BaseDomain {
    private static final long serialVersionUID = 1L;
    @TableId
    private Long id;
    @ApiModelProperty(value = "业绩数量")
    private Integer performanceValue;
    @ApiModelProperty(value = "代理商等级")
    private Integer agentHierarchyId;
    @ApiModelProperty(value = "辖下代理商数量")
    private Integer agentValue;
    @Sensitive
    @ApiModelProperty(value = "等级图片")
    private String gradeImage;
    @ApiModelProperty(value = "等级名称")
    private String gradeName;
    @ApiModelProperty(value = "等级描述")
    private String gradeDesc;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "是否默认 true/false", hidden = false)
    private Boolean isDefault;


}
